-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Add some tests for debug info behavior #24650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
In particular, the behavior being discussed in emscripten-core#20462 Also decouple settings.DEBUG_LEVEL (which is the final debug level output) from cases where we just need e.g. intermediate DWARF. This will hopefully make cases like "full optimizations + source maps" more clear.
Did you want to land this? |
(['-O2', '-g'], True, False, True, False), | ||
(['-O2', '--closure=1'], False, True, False, True), | ||
(['-O2', '--closure=1', '-g1'], False, True, True, True), | ||
for args, expect_clean_js, expect_whitespace_js, expect_closured in [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lines 9200, 9202, and 9203 are new, the rest are the removal of the unused 'expect_clean_js' parameter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was "expect_clean_js" a typo of "expect_emit_text"? (the latter seems to be the one removed)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, expect_emit_text was unused.
In particular, the behavior being discussed in emscripten-core#20462 Also decouple settings.DEBUG_LEVEL (which is the final debug level output) from cases where we just need e.g. intermediate DWARF. This will hopefully make cases like "full optimizations + source maps" more clear.
In particular, the behavior being discussed in #20462
Also decouple settings.DEBUG_LEVEL (which is the final debug
level output) from cases where we just need e.g. intermediate DWARF.
This will hopefully make cases like "full optimizations + source maps"
more clear.